<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
 <%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Create account</title>
	<!-- Load main style css -->
	<%@ include file="../include-file/main-style.jsp" %>
</head>
<body>
	<div class="main-content">
			<%@ include file="../include-file/header-menu.jsp" %>
			<div class="body-content" style="background-color: #48c9b0;">
				<br>
				<br>
			
				<div class = "center-content" style="width: 40%;">
					<div class="login-form">
					    <form:form method="post" action="user-insert" modelAttribute="user">
					        <div class="header">
					            <h3>Create new account</h3>
					            <p>You must fill this form</p>
					        </div>
					        
					        <div class="sep"></div>
					        <div class="inputs">
				        		<div class="form-group">
						            <form:input path="name" type="text" class="form-control login-field" placeholder="e-mail" />
					            	<label class="login-field-icon fui-user" for="login-name"></label>
			           			</div>
			           			<div class="form-group">
						            <form:input path="password" type="password" class="form-control login-field" placeholder="Password" />
						            <label class="login-field-icon fui-lock" for="login-pass"></label>
			           			</div>
						            
					            <input type="submit" id="submit" value="Save" class="btn btn-primary btn-lg btn-block"  />
					        </div>
					    </form:form>
				    </div>
			    </div>
			    <br>
			    <br>
		    </div>
	    <%@ include file="../include-file/footer-script.jsp" %>
	</div>
</body>
</html>